package com.pap.customer.info.auto.entity;

import java.io.Serializable;

import com.pap.base.entity.PapBaseEntity;
import com.pap.base.mybatis.plugin.annotation.MyBatisColumnAnnotation;
import com.pap.base.mybatis.plugin.annotation.MyBatisTableAnnotation;

@MyBatisTableAnnotation(name = "t_customer_info_rel", namespace = "com.pap.customer.info.auto.mapper.CustomerInfoRelMapper", remarks = " 修改点 ", aliasName = "t_customer_info_rel t_customer_info_rel")
public class CustomerInfoRel extends PapBaseEntity implements Serializable {
	/**
	 * 关联主客户信息编码,所属表字段为t_customer_info_rel.CUSTOMER_INFO_ID
	 */
	@MyBatisColumnAnnotation(name = "CUSTOMER_INFO_ID", value = "t_customer_info_rel_CUSTOMER_INFO_ID", chineseNote = "关联主客户信息编码", tableAlias = "t_customer_info_rel")
	private String customerInfoId;

	/**
	 * 与主客户信息的关系,所属表字段为t_customer_info_rel.CUSTOMER_INFO_RELATION
	 */
	@MyBatisColumnAnnotation(name = "CUSTOMER_INFO_RELATION", value = "t_customer_info_rel_CUSTOMER_INFO_RELATION", chineseNote = "与主客户信息的关系", tableAlias = "t_customer_info_rel")
	private String customerInfoRelation;

	/**
	 * 名称,所属表字段为t_customer_info_rel.NAME
	 */
	@MyBatisColumnAnnotation(name = "NAME", value = "t_customer_info_rel_NAME", chineseNote = "名称", tableAlias = "t_customer_info_rel")
	private String name;

	/**
	 * 证件类型,所属表字段为t_customer_info_rel.ID_CARD_TYPE
	 */
	@MyBatisColumnAnnotation(name = "ID_CARD_TYPE", value = "t_customer_info_rel_ID_CARD_TYPE", chineseNote = "证件类型", tableAlias = "t_customer_info_rel")
	private String idCardType;

	/**
	 * 证件号码,所属表字段为t_customer_info_rel.ID_CARD_NUMBER
	 */
	@MyBatisColumnAnnotation(name = "ID_CARD_NUMBER", value = "t_customer_info_rel_ID_CARD_NUMBER", chineseNote = "证件号码", tableAlias = "t_customer_info_rel")
	private String idCardNumber;

	/**
	 * 性别,所属表字段为t_customer_info_rel.SEX
	 */
	@MyBatisColumnAnnotation(name = "SEX", value = "t_customer_info_rel_SEX", chineseNote = "性别", tableAlias = "t_customer_info_rel")
	private String sex;

	/**
	 * 手机号码,所属表字段为t_customer_info_rel.MOBILE
	 */
	@MyBatisColumnAnnotation(name = "MOBILE", value = "t_customer_info_rel_MOBILE", chineseNote = "手机号码", tableAlias = "t_customer_info_rel")
	private String mobile;

	/**
	 * 户籍省市区编码,所属表字段为t_customer_info_rel.HOUSEHOLD_ADDRESS_CODES
	 */
	@MyBatisColumnAnnotation(name = "HOUSEHOLD_ADDRESS_CODES", value = "t_customer_info_rel_HOUSEHOLD_ADDRESS_CODES", chineseNote = "户籍省市区编码", tableAlias = "t_customer_info_rel")
	private String householdAddressCodes;

	/**
	 * 户籍省市区名称,所属表字段为t_customer_info_rel.HOUSEHOLD_ADDRESS_NAMES
	 */
	@MyBatisColumnAnnotation(name = "HOUSEHOLD_ADDRESS_NAMES", value = "t_customer_info_rel_HOUSEHOLD_ADDRESS_NAMES", chineseNote = "户籍省市区名称", tableAlias = "t_customer_info_rel")
	private String householdAddressNames;

	/**
	 * 户籍明细地址,所属表字段为t_customer_info_rel.HOUSEHOLD_ADDRESS_DETAIL
	 */
	@MyBatisColumnAnnotation(name = "HOUSEHOLD_ADDRESS_DETAIL", value = "t_customer_info_rel_HOUSEHOLD_ADDRESS_DETAIL", chineseNote = "户籍明细地址", tableAlias = "t_customer_info_rel")
	private String householdAddressDetail;

	private static final long serialVersionUID = 1L;

	public String getCustomerInfoId() {
		return customerInfoId;
	}

	public void setCustomerInfoId(String customerInfoId) {
		this.customerInfoId = customerInfoId;
	}

	public String getCustomerInfoRelation() {
		return customerInfoRelation;
	}

	public void setCustomerInfoRelation(String customerInfoRelation) {
		this.customerInfoRelation = customerInfoRelation;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIdCardType() {
		return idCardType;
	}

	public void setIdCardType(String idCardType) {
		this.idCardType = idCardType;
	}

	public String getIdCardNumber() {
		return idCardNumber;
	}

	public void setIdCardNumber(String idCardNumber) {
		this.idCardNumber = idCardNumber;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getHouseholdAddressCodes() {
		return householdAddressCodes;
	}

	public void setHouseholdAddressCodes(String householdAddressCodes) {
		this.householdAddressCodes = householdAddressCodes;
	}

	public String getHouseholdAddressNames() {
		return householdAddressNames;
	}

	public void setHouseholdAddressNames(String householdAddressNames) {
		this.householdAddressNames = householdAddressNames;
	}

	public String getHouseholdAddressDetail() {
		return householdAddressDetail;
	}

	public void setHouseholdAddressDetail(String householdAddressDetail) {
		this.householdAddressDetail = householdAddressDetail;
	}
	
	@Override
	public String getDynamicTableName() {
		return "t_customer_info_rel";
	}

	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append(getClass().getSimpleName());
		sb.append(" [");
		sb.append("Hash = ").append(hashCode());
		sb.append(", customerInfoId=").append(customerInfoId);
		sb.append(", customerInfoRelation=").append(customerInfoRelation);
		sb.append(", name=").append(name);
		sb.append(", idCardType=").append(idCardType);
		sb.append(", idCardNumber=").append(idCardNumber);
		sb.append(", sex=").append(sex);
		sb.append(", mobile=").append(mobile);
		sb.append(", householdAddressCodes=").append(householdAddressCodes);
		sb.append(", householdAddressNames=").append(householdAddressNames);
		sb.append(", householdAddressDetail=").append(householdAddressDetail);
		sb.append("]");
		return sb.toString();
	}
}